package bootstrap

import (
	"github.com/flaravel/quanlaolao/pkg/route"
	"github.com/flaravel/quanlaolao/routes"
	"github.com/gorilla/mux"
)

func SetupRoute() *mux.Router {

	router := mux.NewRouter()

	routes.RegisterWebRoutes(router)

	routes.RegisterApiRoutes(router)

	route.SetRoute(router)

	return router
}
